#include "Element.h"
#include "Game/Camera.h"

namespace LTGame
{
	void CCameraCtrl::initialize()
	{
		comm_timer = 0;
	}

	void CCameraCtrl::logic()
	{
		if ( 0 == comm_timer )
		{
			comm_timer ++;
			Camera::getInstance()->setSpeedY(m_dat[COBJ_DAT_LEN]);
		}
	}

}